package com.cloud_disk.service.impl;

import com.cloud_disk.mapper.CloudFileMapper;
import com.cloud_disk.service.CloudFileService;
import com.cloud_disk.vo.File;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
 * @author 徐华星
 * 日期 2021/12/21
 */
@Service
public class CloudFileServiceImpl implements CloudFileService {

    @Autowired
    private CloudFileMapper cloudFileMapper;

    @Override
    public File getFileByFileId(Integer id) {
        return cloudFileMapper.getFileById(id);
    }
}
